package com.ruoyi.syrw.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.utils.BigDecimalUtil;
import lombok.Data;
import java.util.Date;



/**
 * 岩石含水率试验检测记录子视图对象 syrw_yshslsyjcjlb_ba_detail
 *
 * @author xisen
 * @date 2024-05-11
 */
@Data
@ExcelIgnoreUnannotated
public class YshslsyjcjlbBaDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 岩石含水率试验检测记录表主键
     */
    @ExcelProperty(value = "岩石含水率试验检测记录表主键")
    private Long excelId;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long bianh;

    /**
     * 称量盒干燥质量(g)
     */
    @ExcelProperty(value = "称量盒干燥质量(g)")
    private Long chenglhgzzl;

    /**
     * 烘干前试样和称量盒质量(g)
     */
    @ExcelProperty(value = "烘干前试样和称量盒质量(g)")
    private Long honggqsyhclhzl;

    /**
     * 烘干后试样和称量盒质量(g)
     */
    @ExcelProperty(value = "烘干后试样和称量盒质量(g)")
    private Long hongghsyhclhzl;

    /**
     * 含水率(%)
     */
    @ExcelProperty(value = "含水率(%)")
    private BigDecimal hansl;

    /**
     * 含水率平均值
     */
    @ExcelProperty(value = "含水率平均值")
    private BigDecimal hanslpjz;

    public void setHansl(BigDecimal hansl){
        this.hansl = BigDecimalUtil.stpTrailZero(hansl);
    }

    public void setHanslpjz(BigDecimal hanslpjz){
        this.hanslpjz = BigDecimalUtil.stpTrailZero(hanslpjz);
    }


}
